package cn.taoticket.mapper;
import cn.taoticket.pojo.TaoticketTrade;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TaoticketTradeMapper {

	public TaoticketTrade getTaoticketTradeById(@Param(value = "id") Long id)throws Exception;

	public List<TaoticketTrade>	getTaoticketTradeListByMap(Map<String,Object> param)throws Exception;

	public Integer getTaoticketTradeCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertTaoticketTrade(TaoticketTrade taoticketTrade)throws Exception;

	public Integer updateTaoticketTrade(TaoticketTrade taoticketTrade)throws Exception;

	public Integer deleteTaoticketTradeById(@Param(value = "id") Long id)throws Exception;

	public Integer batchDeleteTaoticketTrade(Map<String,List<String>> params);

}
